package com.ydh.company.pojo;


import com.ydh.company.flag.PurchaseOrderFlag;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

public class WarehousingOutRecordDetail {
  @ApiModelProperty(name = "warehousingRecordDetailId",notes = "出入库记录详情表id",dataType = "string",required = false)
  private String warehousingRecordDetailId;
  @NotBlank(message = "本次入库数不能为空")
  @Pattern(regexp = "[1-9]\\d*",message = "本次入库数只能输入正整数")
  @ApiModelProperty(name = "stockInOut",notes = "本次出入库数",dataType = "long",required = true)
  private long stockInOut;
  @NotBlank(message = "出入库单号不能为空")
  @ApiModelProperty(name = "receiptOutNoString",notes = "出入库单号",dataType = "string",required = true)
  private String receiptOutNo;
  @ApiModelProperty(name = "receiptOutRemarks",notes = "出入库备注",dataType = "string",required = true)
  private String receiptOutRemarks;
  @NotBlank(message = "商品id不能为空")
  @ApiModelProperty(name = "GoodsId",notes = "商品id",dataType = "string",required = true)
  private String goodsId;
  @ApiModelProperty(name = "stockHas",notes = "已入库数",dataType = "long",required = true)
  private long stockHas;
  @ApiModelProperty(name = "warehousingRecordMainId",notes = "出入库记录id",dataType = "string",required = false)
  private String warehousingRecordMainId;
  @NotBlank(message = "采购数不能为空")
  @Pattern(regexp = "[1-9]\\d*",message = "采购数只能输入正整数")
  @ApiModelProperty(name = "purchaseNumber",notes = "采购数",dataType = "string",required = true)
  private String purchaseNumber;

  public String getWarehousingRecordMainId() {
    return warehousingRecordMainId;
  }

  public void setWarehousingRecordMainId(String warehousingRecordMainId) {
    this.warehousingRecordMainId = warehousingRecordMainId;
  }

  public String getPurchaseNumber() {
    return purchaseNumber;
  }

  public void setPurchaseNumber(String purchaseNumber) {
    this.purchaseNumber = purchaseNumber;
  }

  private  Goods goods;
  public String getWarehousingRecordDetailId() {
    return warehousingRecordDetailId;
  }

  public void setWarehousingRecordDetailId(String warehousingRecordDetailId) {
    this.warehousingRecordDetailId = warehousingRecordDetailId;
  }

  public long getStockHas() {
    return stockHas;
  }

  public void setStockHas(long stockHas) {
    this.stockHas = stockHas;
  }

  public long getStockInOut() {
    return stockInOut;
  }

  public void setStockInOut(long stockInOut) {
    this.stockInOut = stockInOut;
  }


  public String getReceiptOutNo() {
    return receiptOutNo;
  }

  public void setReceiptOutNo(String receiptOutNo) {
    this.receiptOutNo = receiptOutNo;
  }


  public String getReceiptOutRemarks() {
    return receiptOutRemarks;
  }

  public void setReceiptOutRemarks(String receiptOutRemarks) {
    this.receiptOutRemarks = receiptOutRemarks;
  }


  public String getGoodsId() {
    return goodsId;
  }

  public void setGoodsId(String goodsId) {
    this.goodsId = goodsId;
  }

  public Goods getGoods() {
    return goods;
  }

  public void setGoods(Goods goods) {
    this.goods = goods;
  }
}
